package com.wx.fresh.user.mapper;

import com.wx.fresh.common.pojo.CUser;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Dshzs月
 * @version 1.0.0
 * @ClassName CustomUserMapper.java
 * @Description TODO
 * @createTime 2022年04月27日 10:37:00
 */
@Mapper
public interface CustomUserMapper {

    @Select("select * from xwrs_user")
    List<CUser> findAll(CUser cUser);

    int Edit(CUser cUser);

    @Select("select * from xwrs_user  where user_id=#{id}")
    CUser FindById(Long id);

    @Delete("delete  from  xwrs_user  where  id =#{id}")
    int delete(Long id);


//    @Select("select * from xwrs_user")
//    List<PlatformUserDto> platformFindAll(PlatformUserDto platformUserDto);
//
//    @Update(" update  set ")
//    Integer PUserEdit(PlatformUserDto platformUserDto);
//
//    @Select("select * from xwrs_user  where  id =#{id}")
//    PlatformUserDto PUserFindById(Long id);
//
//    @Delete("delete  from  xwrs_user  where  id =#{id}")
//    Integer pUserDelete(Long id);
}
